package model

import (
	"time"
)

type AuRechargeLog struct {
	Id            int       `xorm:"not null pk autoincr INT(11)"`
	DealerId      int       `xorm:"not null index INT(10)"`
	Amount        float64   `xorm:"not null DOUBLE(10,2)"`
	OrderFee      float64   `xorm:"not null DOUBLE(10,2)"`
	OrderNo       string    `xorm:"not null unique VARCHAR(64)"`
	OrderSummary  string    `xorm:"VARCHAR(255)"`
	PayType       int       `xorm:"not null default 0 SMALLINT(3)"`
	TransactionId string    `xorm:"VARCHAR(64)"`
	ThirdParty    int       `xorm:"not null INT(11)"`
	PayResult     int       `xorm:"not null default 0 TINYINT(1)"`
	RetMsg        string    `xorm:"TEXT"`
	CreateTime    time.Time `xorm:"not null DATETIME"`
	DealTime      time.Time `xorm:"DATETIME"`
	Remark        string    `xorm:"TEXT"`
	BranchId      int       `xorm:"not null default 1 INT(11)"`
	Vin           string    `xorm:"VARCHAR(255)"`
	CollectionNo  string    `xorm:"VARCHAR(255)"`
}
